﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 事件
{
    class Person
    {
        public void Doalarm()
        {
            MessageBox.Show("这是Person类下的DoAlarm方法");
            Thread.Sleep(1000);
        }
    }
}
